#pragma once

#include "flybox\LV3.H"
#include <vector>

#define FB_COMPORT "COM1"

class CFlybox
{
public:
    CFlybox(void);
    ~CFlybox(void);

    bool                InitFlybox();
    void                rf_quit();
    std::vector<float>  GetState();
    int                 IsTriggerDepressed();

    // retriever
    const bool&         IsFlyStarted()   const   {return _bFlyOpen;}

private:
    int                 setup_lv();
    bool                ReadFly();

public:
    bglv    _sBGData;

private:
    bool    _bFlyOpen;
};